package com.atguigu.springcloud.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atguigu.springcloud.entities.CommonResult;

/**
 * @version 1.0
 * @Author YanJingren
 * @Date 2021/3/16
 * @Description com.atguigu.springcloud.myHandler
 */
public class CustomerBlockHandler {

    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(444, "按客户自定义，global");
    }

}
